
package com.ruoyi.web.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel("用户留言DTO")
public class UserMessageDto {

    @ApiModelProperty("ID")
    private Long baseId;

    @ApiModelProperty("留言内容")
    private String content;

    @ApiModelProperty("访问码")
    private String accessCode;

    /**
     * '1'首页，'2'摄像头
     */
    @ApiModelProperty("信息来源")
    private String source;

    @ApiModelProperty("留言时间")
    private LocalDateTime createTime;

    @ApiModelProperty("摄像头ID")
    private Long cameraId;

    @ApiModelProperty("系统用户：用户ID")
    private Long userId;

    @ApiModelProperty("系统用户：用户名")
    private String userName;

    /**
     * '1'访问码，'2'系统用户
     */
    @ApiModelProperty("留言人类型")
    private String type;

    @ApiModelProperty("查询条件：起始留言时间")
    private Date beginCreateTime;

    @ApiModelProperty("查询条件：终止留言时间")
    private Date endCreateTime;
}
